package com.starry.module.system.core.dict.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starry.db.core.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

;

/**
 * 系统字典内容-实体
 *
 * @author xiaoke
 */
@Schema(description = "系统字典内容实体")
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_dictionary_data")
public class SysDictionaryData extends BaseEntity {

    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 字典类型
     */
    private String dictType;

    /**
     * 字典排序
     */
    @Schema(description = "字典排序")
    private Integer dictSort;
    /**
     * 字典名称
     */
    @Schema(description = "字典名称")
    private String name;
    /**
     * 字典值
     */
    @Schema(description = "字典值")
    private String dictValue;
    /**
     * 是否默认
     */
    @Schema(description = "是否默认")
    private Integer dictDefault;
    /**
     * 回显样式
     */
    @Schema(description = "回显样式")
    private String dictStyle;
    /**
     * 状态（1正常，0禁用）
     */
    @Schema(description = "状态（1正常，0禁用）")
    private Integer status;
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
}

